﻿using System;
using System.Diagnostics;

namespace com.bodurov.SessionRecovery.Interfaces
{
    public interface ISessionRecoveryConfiguration
    {
        string SessionFilesFolder { get; }
        int NumMinutesAfterWhichRestorIsNotAllowed { get; }
        string LogFileName { get; }
        TraceLevel TraceLevel { get; }
        int MaxNumberLogsToKeep { get; }
        string GetFileName(string sessionID);
        string DateToString(DateTime date);
        DateTime StringToDate(string str);
        string GetSessionIdByFileName(string fileName);
        DateTime GetDateTimeByFileName(string fileName);
        bool FileIsSessionFile(string fileName);
    }
}
